package com.allwees.bs.c.module.user.req;


import com.allwees.bs.core.modelbase.constant.ErrorMessage;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
/**
 * 用户信息
 * @author zyw2020
 *
 */
//@ApiModel(value = "用户信息实体")
public class UserProfileReq {

    @NotEmpty(message = ErrorMessage.PARAM_NOT_NULL)
//    @ApiModelProperty(value = "由接口返回的first_name,主要做验证", example = "first_name")
    private String firstName;

    @NotEmpty(message = ErrorMessage.PARAM_NOT_NULL)
//    @ApiModelProperty(value = "由接口返回的last_name,主要做验证", example = "last_name")
    private String lastName;

    //@NotNull(message = ErrorMessage.PARAM_NOT_NULL)
//    @ApiModelProperty(value = "由接口返回的birthday_year,主要做验证", example = "birthday_year")
    private Integer birthdayYear;

    @NotNull(message = ErrorMessage.PARAM_NOT_NULL)
//    @ApiModelProperty(value = "由接口返回的birthday_month,主要做验证", example = "birthday_month")
    private Integer birthdayMonth;

    @NotNull(message = ErrorMessage.PARAM_NOT_NULL)
//    @ApiModelProperty(value = "由接口返回的birthday_day,主要做验证", example = "birthday_day")
    private Integer birthdayDay;

    @NotNull(message = ErrorMessage.PARAM_NOT_NULL)
//    @ApiModelProperty(value = "由接口返回的gender,主要做验证", example = "gender")
    private Integer gender;
}
